
import { createRoot } from 'react-dom/client'
import './index.css'
import { Suspense } from 'react'
import { RouterProvider } from 'react-router-dom'
import routes from './router'

createRoot(document.getElementById('root')!).render(
  <Suspense fallback={<div>loading...</div>}>
    <RouterProvider router={routes}></RouterProvider>
  </Suspense>
)
